import styled from "styled-components"

export const ViewWrapper = styled.div`
display: flex;
align-items: center;
width: 100%;
position: relative;
.button {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 4px;
  cursor: pointer;
  margin: 0 5px;
  color: ${props => props.theme.font.primary};
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  transition: all 0.2s ease;
  z-index: 1;
  &:hover {
    transform: translateY(-50%) scale(1.15);
  }
}
.button-left {
  left: -20px;
}
.button-right {
  right: -20px;
}
.content-container {
  width: 100%;
  overflow: hidden;
}
.scroll-content {
  display: flex;
  width: 100%;
  transition: transform 0.3s ease;
}
`